package com.neuedu.elmserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 评价表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Review implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评价编号
     */
    @TableId(value = "review_id", type = IdType.AUTO)
    private Integer reviewId;

    /**
     * 食品编号
     */
    private Integer foodId;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 评分
     */
    private Integer rating;

    /**
     * 评论内容
     */
    private String comment;

    /**
     * 评价时间
     */
    private String reviewDate;
}

